//sessionStorage
export function setSession(itemKey, item) {
  return sessionStorage.setItem(itemKey, item)
}

export function getSession(itemKey) {
  return sessionStorage.getItem(itemKey)
}

export function removeSession(itemKey) {
  return sessionStorage.removeItem(itemKey)
}

export function clearSession() {
  return sessionStorage.clear()
}

//localStorage
export function setLocal(itemKey, item) {
  return localStorage.setItem(itemKey, item)
}

export function getLocal(itemKey) {
  return localStorage.getItem(itemKey)
}
